From 333ae6b7ea09e556a8e370ae5f04aa6806547547 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 9 May 2005 20:51:53 +0000 Subject: [PATCH] GPX: Change placed_by to read owner and not plced by. Maggeo: Don't zero pad longitude as Geocache Manager doesn't. --- gpsbabel/gpx.c | 2 +- gpsbabel/maggeo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index ebb36bfb7..73ef4596e 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -179,7 +179,7 @@ tag_mapping tag_path_map[] = { { tt_cache_log_wpt, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:log_wpt" }, { tt_cache_log_type, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:type" }, { tt_cache_log_date, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:date" }, - { tt_cache_placer, 1, "/gpx/wpt/groundspeak:cache/groundspeak:placed_by" }, + { tt_cache_placer, 1, "/gpx/wpt/groundspeak:cache/groundspeak:owner" }, { tt_rte, 0, "/gpx/rte" }, { tt_rte_name, 0, "/gpx/rte/name" }, diff --git a/gpsbabel/maggeo.c b/gpsbabel/maggeo.c index 91cbda08b..f2674a479 100644 --- a/gpsbabel/maggeo.c +++ b/gpsbabel/maggeo.c @@ -170,7 +170,7 @@ maggeo_waypt_pr(const waypoint *waypointp) * */ snprintf(obuf, sizeof(obuf), - "PMGNGEO,%4.3f,%c,%09.3f,%c,%04.0f,F", + "PMGNGEO,%4.3f,%c,%08.3f,%c,%04.0f,F", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->altitude == unknown_alt ? -- 2.30.2